Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permit setting probe.kubernetes.interval to 0 #3012

Merged
merged 1 commit into from
Jan 3, 2018
Merged

Conversation

rade
Copy link
Member

@rade rade commented Jan 3, 2018

...which is useful if we want to disable periodic fetching of all objects.

Previously the interval was also used to set the initial backoff of the reconnect logic (all this code was introduced in #2562). A zero value there would result in no backoff. So instead we now just use the default, which is 10s which also happens to be the default probe.kubernetes.interval, so there is no change in behaviour for the stock settings.

@rade rade requested review from rndstr and bboreham January 3, 2018 00:38
...which is useful if we want to disable periodic fetching of all
objects.

Previously the interval was also used to set the initial backoff of
the reconnect logic. A zero value there would result in _no_
backoff. So instead we now just use the default, which is 10s which
also happens to be the default probe.kubernetes.interval, so there is
no change in behaviour for the stock settings.
@rade rade force-pushed the permit-zero-resync branch from 6d16994 to 5dad27c Compare January 3, 2018 00:38
@rade rade merged commit 90cbd8d into master Jan 3, 2018
@rade rade deleted the permit-zero-resync branch February 13, 2018 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants